package com.doeis.uwork.entity.mongo;

import java.sql.Timestamp;

import com.voland.core.annotation.Table;
import com.voland.core.db.Entity;


/******
 * mina 当前活动的session
 * ****/
@Table(name="mina_session_count_log")
public class MinaSessionCountLog extends Entity{

		private String id;
		private int authcount;//经过验证的连接
		private int conncount;//普通连接，没有经过验证
		private int minacount;//mina 一共有多少连接minacount = authcount + conncount
		
		private String data_group;//数据组，唯一标识码
	    private Timestamp created_at;

		public String getData_group() {
			return data_group;
		}

		public void setData_group(String data_group) {
			this.data_group = data_group;
		}

		public String getId() {
			return id;
		}

		public int getMinacount() {
			return minacount;
		}

		public void setMinacount(int minacount) {
			this.minacount = minacount;
		}

		public void setId(String id) {
			this.id = id;
		}

		public int getAuthcount() {
			return authcount;
		}

		public void setAuthcount(int authcount) {
			this.authcount = authcount;
		}

		public int getConncount() {
			return conncount;
		}

		public void setConncount(int conncount) {
			this.conncount = conncount;
		}

		public Timestamp getCreated_at() {
			return created_at;
		}

		public void setCreated_at(Timestamp created_at) {
			this.created_at = created_at;
		}

		@Override
		public String toString() {
			return "MinaSessionCountLog [id=" + id + ", authcount=" + authcount
					+ ", conncount=" + conncount + ", created_at=" + created_at
					+ "]";
		}

		
		
		
}
